/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.ipartek.formacion.gestformwww.modelo.beans;

/**
 *
 * @author Curso
 */
public class Docente{
    private Integer docId;
    private String docTlf1; //9
    private String docTlf2; //9
    private Boolean docColaborador; //bit
    private String docNom; //50
    private String docApe1; //50
    private String docApe2; //50
    private String docMail; //50
    private String docObserv; //500
    private Boolean docActivo; //bit

    public Docente(Integer docId, String docTlf1, String docTlf2, Boolean docColaborador, String docNom, String docApe1, String docApe2, String docMail, String docObserv, Boolean docActivo) {
        this.docId = docId;
        this.docTlf1 = docTlf1;
        this.docTlf2 = docTlf2;
        this.docColaborador = docColaborador;
        this.docNom = docNom;
        this.docApe1 = docApe1;
        this.docApe2 = docApe2;
        this.docMail = docMail;
        this.docObserv = docObserv;
        this.docActivo = docActivo;
    }

    public Docente(){
        
    }

    public Boolean getDocActivo() {
        return docActivo;
    }

    public void setDocActivo(Boolean docActivo) {
        this.docActivo = docActivo;
    }

    public String getDocApe1() {
        return docApe1;
    }

    public void setDocApe1(String docApe1) {
        this.docApe1 = docApe1;
    }

    public String getDocApe2() {
        return docApe2;
    }

    public void setDocApe2(String docApe2) {
        this.docApe2 = docApe2;
    }

    public Boolean getDocColaborador() {
        return docColaborador;
    }

    public void setDocColaborador(Boolean docColaborador) {
        this.docColaborador = docColaborador;
    }

    public Integer getDocId() {
        return docId;
    }

    public void setDocId(Integer docId) {
        this.docId = docId;
    }

    public String getDocMail() {
        return docMail;
    }

    public void setDocMail(String docMail) {
        this.docMail = docMail;
    }

    public String getDocNom() {
        return docNom;
    }

    public void setDocNom(String docNom) {
        this.docNom = docNom;
    }

    public String getDocObserv() {
        return docObserv;
    }

    public void setDocObserv(String docObserv) {
        this.docObserv = docObserv;
    }

    public String getDocTlf1() {
        return docTlf1;
    }

    public void setDocTlf1(String docTlf1) {
        this.docTlf1 = docTlf1;
    }

    public String getDocTlf2() {
        return docTlf2;
    }

    public void setDocTlf2(String docTlf2) {
        this.docTlf2 = docTlf2;
    }

    public String getNombreCompleto(){
        String nombre="";
            nombre += this.docNom + ((this.docApe1!=null) ?  (" " + this.docApe1) : "");
        return nombre;
    }
}
